Skip to content

4768#4771

Merged
ivicac merged 2 commits into
masterfrom
4768
Apr 15, 2026
Merged

4768#4771
ivicac merged 2 commits into
masterfrom
4768

Conversation

@ivicac
Copy link
Copy Markdown
Contributor

@ivicac ivicac commented Apr 15, 2026

No description provided.

ivicac and others added 2 commits April 15, 2026 20:59
…ring

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…rkflow code editor

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Fixes workflow editor property input behavior when clearing date/datetime/time values, and aligns the workflow code editor close button sizing with other header buttons.

Changes:

  • Coerce cleared DATE/DATE_TIME/TIME property values from '' to null before saving.
  • Adjust <input type="time"> step to minute precision and add/extend tests for the new behaviors.
  • Update WorkflowCodeEditorSheet close button sizing/styling.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
client/src/pages/platform/workflow-editor/components/properties/hooks/useProperty.ts Adds resolvedValue logic to save null for cleared date/time controls.
client/src/pages/platform/workflow-editor/components/properties/hooks/tests/saveInputValueResolvedValue.test.ts Adds unit coverage for the date/time empty-string-to-null save coercion.
client/src/pages/platform/workflow-editor/components/properties/components/property-input/PropertyInput.tsx Sets step=60 for time inputs to enforce minute precision.
client/src/pages/platform/workflow-editor/components/properties/components/property-input/PropertyInput.test.tsx Adds tests asserting step behavior for time vs non-time inputs.
client/src/pages/platform/workflow-editor/components/WorkflowCodeEditorSheet.tsx Updates the close button icon sizing and button size variant to match header peers.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed for 'client'

Failed conditions
16.7% Coverage on New Code (required ≥ 80%)

See analysis details on SonarQube Cloud

@ivicac ivicac merged commit a174053 into master Apr 15, 2026
6 of 7 checks passed
@ivicac ivicac deleted the 4768 branch April 15, 2026 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[bug] Date/Datetime return empty string instead of null; Time field cannot be cleared

2 participants